<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN" style="overflow-x:hidden;">

<head>
<%@include file="/template/basic.jspf"%>
</head>

<body >
	
	<div class="wrap">
		    <div class="container-fluid">
		        <div class="row-fluid">
           			<div class="col-sm-2">
           				 <app:tree node="list" id="funtree" width="300px;"    hideNodes="${hiddenDeptTree }" nodeAction="onLoad" openNodes="root"/>
	            	</div>
		            <div class="col-sm-10">
	                	<form class="form-inline" role="form" id="searchForm" name="searchForm">
	                		<input  value="${checkValueId }" id="user_dept_id" name="sysUserFormMap.dept_id" type="hidden"/>
	                		<input  value="${checkValueName }" id="dept_name" type="hidden"/>
	                		<div class="well"  id="UserForm">
	                			 <div class="form-group">
									<label for="lbDeptName">姓名</label>&nbsp;&nbsp;
									<input type="hidden" name="sysUserFormMap.deptId" class="form-control" id="deptId" value="root"/>&nbsp;&nbsp;
									<input type="text" id="user_account" name="sysUserFormMap.user_name" class="form-control" style="width:150px;" maxlength="20" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;											
								</div>	
	                		
			                    <div class="form-group">
									<label for="lbDeptName">账号</label>&nbsp;&nbsp;
									<input type="text" id="user_account" name="sysUserFormMap.user_account" class="form-control" style="width:150px;" maxlength="20" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;											
								</div>	
						       
						        <div class="form-group">
									<label>所属领导</label>&nbsp;&nbsp;
									<div class="form-group">
										<input type="text" class="form-control"
										id="leaderId" value="">
									<app:showList formatShow="[user_name(user_account)]"
										url="${ctx}/common/likeFind.shtml?className=cn.yxcps.crm.system.entity.SysUserFormMap&limit=10&fields=user_account,user_name"
										bindingId="leaderId" formatHide="user_id,user_name" 
										click="clickUserList" />
										<input type="hidden" id="leaderHiddenId"
										name="sysUserFormMap.leader_id" value="">	
									</div>
								</div>	
								
								 <div class="form-group">
									<label for="lbDeptName">是否离职</label>&nbsp;&nbsp;
									<select id="status" name="sysUserFormMap.state" class="form-control" style="width:160px;">
										<option value="2" >全部</option>
										<option value="0" selected="selected">在职</option>
										<option value="1" >离职</option>
								   	</select>										
								</div>	
								
			                    <div class="form-group">
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)" class="btn btn-info" id="search">查&nbsp;&nbsp;	&nbsp;&nbsp;询</a>&nbsp;&nbsp;
								</div>
	                		</div>
	                	</form>	                	
                		<div class="row-fluid" style="margin-bottom:10px;">
                			<a href="javascript:void(0);" class="btn btn-info" id="addAccount">新&nbsp;&nbsp;&nbsp;&nbsp;增</a>&nbsp;&nbsp;
                			<a href="javascript:void(0);" class="btn btn-warning" id="editAccount">编&nbsp;&nbsp;&nbsp;&nbsp;辑</a>&nbsp;&nbsp;
                			<a href="javascript:void(0);" class="btn btn-danger" id="delAccount">禁&nbsp;&nbsp;&nbsp;&nbsp;用</a>&nbsp;&nbsp;
                			<a href="javascript:void(0);" class="btn btn-info" id="role">关联角色</a>&nbsp;&nbsp;
                   			<a href="javascript:void(0);" class="btn btn-primary" id="reset">重置密码</a>&nbsp;&nbsp;
                			
                		</div>
						<div id="paging" class="pagclass"></div>
		            </div>
          		</div>
        	</div>
        </div>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/system/user/list.js"></script>
</body>
</html>